package org.apak.model;

public class Person extends Customer{
	private String name;
	private String surname;
	
	public Person() {}
	
	public Person(int id, String name, String surname) {
		super.setSubject_fk(id);
		super.setType(1);
		this.name = name;
		this.surname = surname;
	}
	
	public Person(int customerID, int id, String name, String surname) {
		super.setCustomer(customerID);
		super.setSubject_fk(id);
		super.setType(1);
		this.name = name;
		this.surname = surname;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSurname() {
		return surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}
	
	public String toString() {
		return name + " " + surname;
	}
}
